home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / NextAnswers / 1387_swapdisk_no_longer_functions.rtf < prev    next >
Text File  |  1993-11-08  |  2KB  |  41 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fmodern Courier;\f1\fmodern Ohlfs;}
  2. \paperw9840
  3. \paperh8400
  4. \margl120
  5. \margr120
  6. {\colortbl;\red0\green0\blue0;}
  7. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs28\fc0\cf0 Q:    My machine won't swap to my swapdisk (SCSI address 6).  However, I think this used to work.\
  8. \
  9. A:    You may have a removable media device at a lower SCSI address than your swap disk.  Devices with no media in them cannot return a disk label, causing 
  10. \b checkswap
  11. \b0  to return FSR_NONE.   The file /etc/rc.swap has a line\
  12. \
  13.  
  14. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\fs24\fc1\cf1         case $swapstatus in\
  15.                 0)\
  16.                 # No such disk was actually connected.\
  17.                 break;\
  18.                 ;;\
  19.  
  20. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\fs28\fc0\cf0 \
  21. This can be fixed by removing the line with 
  22. \i break
  23. \i0  in it. You end up with:\
  24. \
  25.  
  26. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\fs24\fc1\cf1         case $swapstatus in\
  27.                 0)\
  28.                 # No such disk was actually connected.\
  29.                 ;;\
  30.  
  31. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc1\cf1 \
  32.  
  33. \f0\fs28\fc0\cf0 The downside is that the script always scans for all SCSI devices looking for a swap device.\
  34. \
  35.  
  36. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc1\cf1 QA861\
  37. \
  38. Valid for 2.0, 3.0\
  39. \
  40.  
  41.